FrameLib  2.0
DSP processing with frames of arbitrary timing and length
FrameLib_SpinLock Class Reference

a spinlock that can be locked, attempted or acquired. More...

#include <FrameLib_Threading.h>

Public Member Functions

 FrameLib_SpinLock ()
 
 ~FrameLib_SpinLock ()
 
 FrameLib_SpinLock (const FrameLib_SpinLock &)=delete
 
FrameLib_SpinLockoperator= (const FrameLib_SpinLock &)=delete
 
bool attempt ()
 
void acquire ()
 
void release ()
 

Detailed Description

a spinlock that can be locked, attempted or acquired.

Constructor & Destructor Documentation

◆ FrameLib_SpinLock() [1/2]

FrameLib_SpinLock::FrameLib_SpinLock ( )
inline

◆ ~FrameLib_SpinLock()

FrameLib_SpinLock::~FrameLib_SpinLock ( )
inline

◆ FrameLib_SpinLock() [2/2]

FrameLib_SpinLock::FrameLib_SpinLock ( const FrameLib_SpinLock )
delete

Member Function Documentation

◆ acquire()

void FrameLib_SpinLock::acquire ( )
inline

◆ attempt()

bool FrameLib_SpinLock::attempt ( )
inline

◆ operator=()

FrameLib_SpinLock& FrameLib_SpinLock::operator= ( const FrameLib_SpinLock )
delete

◆ release()

void FrameLib_SpinLock::release ( )
inline

The documentation for this class was generated from the following file: